package ${package.application}.repository;

import ${package.application}.api.request.${entity}QueryRequest;
import ${package.application}.api.response.${entity}QueryResponse;
import ${package.common}.base.Pagination;

import java.util.List;

/**
 * ${table.comment!}读模型资源库
 *
 * @author ${author}
 * @since ${date}
 */
public interface I${entity}ReadModelRepo {

    /**
     * 查询${table.comment!}列表
     *
     * @param pagination   分页
     * @param queryRequest ${table.comment!}查询请求对象
     * @return ${table.comment!}响应数据传输对象列表
     */
    List<${entity}QueryResponse> query(Pagination pagination, ${entity}QueryRequest queryRequest);
}